#ifndef MODELVIEW_H
#define MODELVIEW_H

#include <QWidget>
#include <QSqlTableModel>

namespace Ui {
class ModelView;
}

class ModelView : public QWidget
{
	Q_OBJECT

public:
	explicit ModelView(QWidget *parent = nullptr);
	~ModelView();
	QSqlTableModel * model;

private slots:
	void on_pushButton_add_clicked();

	void on_pushButton_confirm_clicked();

	void on_pushButton_cancel_clicked();

	void on_pushButton_del_clicked();

	void on_pushButton_search_clicked();

private:
	Ui::ModelView *ui;
};

#endif // MODELVIEW_H
